<!DOCTYPE html>
<html data-use-rem="720">
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="__PUBLIC__/Mobile/js/jquery.min.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/Mobile/css/index/reset.css"/>
    <link rel="stylesheet" href="__PUBLIC__/Mobile/css/index/index.css"/>
    <link rel="stylesheet" href="__PUBLIC__/Mobile/css/index/swiper.min.css"/>
    <title>首页</title>
</head>
<body>
<!--头部搜索-->
<header class="index_header">
    <div class="header_first" onclick="search.redirect('{:U('Goods/goods_pagelist')}')">

    </div>
    <!--搜索框-->
    <div class="header_list">
     <form method="post" action="{:U('Index/goods_search')}" onsubmit="return check(this);" id="form">
        <input class="header_list_on" name="title" type="text" placeholder="搜索商品"/>
        <div class="header_list_two" onclick="$('#form').submit()"> </div>
   	</form>
    </div>
    <!--登陆按钮-->
    <div class="header_third" ><if condition="empty($_SESSION['user_id'])"><a href="{:U('User/login')}">登陆</a><else/><a href="{:U('User/login_out')}">退出</a></if></div>
</header>